<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>易购GO_淘宝网女装新款_淘宝网商城_淘宝网网上购物</title>
<{assign var="layout" value="4"}>
<{include file="../_meta.html"}>
</head>

<body>
<{include file="../_top.html"}>
<div id="Container">

	<!-- header -->
	<div id="Header" class="clearfix">
		<{assign var="menu" value="home"}>
		<{include file="../_header.html"}>
	</div>
	<!-- /header -->
	
	<!-- body -->
	<div id="Body" class="clearfix">
	
		<!-- main -->
		<div id="Wrapper">
			<div id="Main">
				<div class="com_title"><div class="com_title_in"><div class="com_title_inner"><h2>管理首页</h2></div></div></div>
				
				<div class="content" id="user_body">
					<div class="admin_info">
						<span><strong>您好，<b><{$user.username}></b>，欢迎您回来！</strong></span>
						<span>您上一次登录时间：<small style="font-size: 11px;"><{$user.login_time}></small></span>
						<span>总共登录过<i class="morehilite"> <{$user.login_times}></i> 次</span>
						<br />
						<span>完成订单：<i class="morehilite"><{$order.count}></i></span>
						<span>总返现金额：<i class="morehilite"><{math equation="a" a=$order.commission format="￥%.2f"}></i></span>
						<span>已提现金额：<i class="morehilite"><{math equation="a" a=$exchange.total format="￥%.2f"}></i></span>
					</div>
					<div class="admin_info" id="account">
						<span>账户总余额：<i class="morehilite2"><{math equation="a" a=$account.balance format="￥%.2f"}></i></span>
						<{if $account.state == 1}>
							<span class="state_wait">提现正在申请中...</span>
						<{else}>
							<{if $account.dis == 0}>
							<a class="btn" href="<{url r='user/main/pay'}>">提现</a>
							<{else}>
							<span>离申请提现还差：<i class="morehilite2"><{math equation="a" a=$account.dis format="￥%.2f"}></i></span>
							<{/if}>
						<{/if}>
					</div>
					
					<!-- list -->
					<h4 class="title">订单列表</h4>
					<div class="gridlist">
					<table width="100%" cellspacing="0" cellpadding="0" border="0">
						<tr>
							<th width="120" class="left">订单号</th>
							<th class="left">商品名称</th>
							<th width="80" class="center">成交数量</th>
							<th width="80" class="right">成交价格</th>
							<th width="80" class="right">返现金额</th>
							<th width="140">成交时间</th>
						</tr>
						<{section name=i loop=$order.list}>
						<tr onmouseout="this.className=''" onmouseover="this.className='over'">
							<td class="left"><{$order.list[i].order_id}></td>
							<td class="left"><{$order.list[i].item_title}></td>
							<td class="center"><{$order.list[i].item_num}></td>
							<td class="right"><{math equation="a" a=$order.list[i].price format="￥%.2f"}></td>
							<td class="right"><{math equation="a" a=$order.list[i].commission format="￥%.2f"}></td>
							<td><{$order.list[i].create_time}></td>
						</tr>
						<{sectionelse}>
						<tr onmouseout="this.className=''" onmouseover="this.className='over'">
							<td align="center" colspan="6">没有订单信息</td>
						</tr>
						<{/section}>
					</table>
					</div>
					<{if $order.list|@count == 5}>
					<p class="order_more"><a href="<{url r='user/main/order'}>">更多订单>></a></p>
					<{/if}>
				</div>
			</div>
		</div>
		<!-- /main -->
		
		<!-- sidebar -->
		<div id="SideBar"><{include file="_menu.html"}></div>
		<!-- /sidebar -->
	</div>
	<!-- /body -->
	
	<!-- footer -->
	<div id="Footer" class="clearfix"><{include file="../_footer.html"}></div>
	<!-- /footer -->
</div>
</body>
</html>
